//
//  Profile.swift
//  codelabs
//
//  Created by 雷雷 on 24/05/2025.
//

import Foundation

struct Profile : Hashable{
    var username:String
    var prefersNotifications=true
    var seasonalPhoto=Season.spring;
    var goalDate=Date()
    
    static let `default` = Profile(username:"Yuxi Ray")
    
    enum Season : String, CaseIterable, Identifiable{
        
        case spring = "🌷"
        case summer = "☀️"
        case autumn = "🍂"
        case winter = "☃️"
        
        var id:String {
            rawValue
        }
    }
    
}
